package com.woniuxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.pojo.Repairs;

public interface RepairsMapper {
    int deleteByPrimaryKey(Integer rpId);

    int insert(Repairs record);

    int insertSelective(Repairs record);

    Repairs selectByPrimaryKey(Integer rpId);

    int updateByPrimaryKeySelective(Repairs record);

    int updateByPrimaryKey(Repairs record);
  //  List<Driver> selectAll(@Param("conBy")String dr_conditionBy,@Param("con")String dr_condition);
    List<Repairs> selectAll(@Param("con")String dr_condition);

	int batchDelete(Integer[] cb);

	//void addRepairs(Repairs repairs);
	
	Double selectCostByCarlicense(String carlicense);

}